using System;
using RFS.Domain.PaiShi;

namespace RFS.BizLogic.PaiShi.Impl
{
    public class ProductPriceItem : IProductPriceItem
    {
        public DateTime DateTime { get; set; }
        public IProduct Product { get; set; }
        // public int Length { get; set; }
        public decimal Price { get; set; }
        public string Supplier { get; set; }
        
        public string Key
        {
            get => $"{DateTime:d}_{Product.Key}";
        }
    }
}